package com.mp.user.service.impl;

import com.mp.user.bean.User;
import com.mp.user.mapper.UserMapper;
import com.mp.user.service.UserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 * @author:
 * @date:
 */
@Service
//@Transactional(rollbackFor=Exception.class)
public class UserServiceImpl implements UserService {
    @Resource
    public UserMapper userMapper;


    @Override
    public List<User> selectList() {
        return userMapper.selectList(null);
    }

}
